﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace QUAN_LY_MUON_TRA_SACH
{
    public partial class rpt_phieu_muon : DevExpress.XtraReports.UI.XtraReport
    {
        public rpt_phieu_muon()
        {
            InitializeComponent();
        }
        public void BindData()
        {
            xlbngayin.Text = DateTime.Today.ToShortDateString();
            colhotendocgia.DataBindings.Add("Text",DataSource,"HTEN_DG");
            colngaymuon.DataBindings.Add("Text", DataSource, "NGAYMUON");
            colisbn.DataBindings.Add("Text",DataSource,"ISBN");
            colsttcuon.DataBindings.Add("Text", DataSource, "STT_CUON");
            coltuasach.DataBindings.Add("Text", DataSource, "TUASACH");
            collangiahan.DataBindings.Add("Text", DataSource, "LAN_GIA_HAN");
            colngayhethan.DataBindings.Add("Text", DataSource, "NGAY_HET_HAN");
        }
    }
}
